package com.albaba.designpattern.factory.text_001.service;

import com.albaba.designpattern.factory.text_001.entity.DiscountResult;

/**
 * @Description: 打折券服务
 * @Author zx
 * @Date 2025/2/19 10:39
 * @Version 1.0
 */
public class DiscountService {

    public DiscountResult sendDiscount(String uid, String awardNumber) {
        System.out.println("向用户发送一张打折券：" + uid + "," + awardNumber);
        return new DiscountResult("200", "发放打折券成功");
    }


}
